Which of the following statement is correct whenever an object goes out of scope?

Question:
Which of the following statement is correct whenever an object goes out of scope?

1. The default constructor of the object is called.

2.The parameterized destructor is called.

3.The default destructor of the object is called.

4.None of the above.

Posted Date:-2021-02-24 09:16:11


More MCQS Questions and answers

Search
Olete Team
Online Exam Test Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Test website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!